//
//  LaunchSreenViewController.m
//  03-suyuanDemo
//
//  Created by 徐宜硕 on 15/9/27.
//  Copyright © 2015年 Xshuo. All rights reserved.
//

#import "LaunchSreenViewController.h"
#import "LoginController.h"
#import "AppDelegate.h"

@interface LaunchSreenViewController ()

@end

@implementation LaunchSreenViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    AppDelegate *appDelegate = [[UIApplication sharedApplication] delegate];
    
    appDelegate.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    UIStoryboard *myStoryBoard = [UIStoryboard storyboardWithName:@"Login" bundle:nil];
    appDelegate.window.rootViewController = [myStoryBoard instantiateViewControllerWithIdentifier:@"login"];
    [appDelegate.window makeKeyAndVisible];
    
    
    
    
    
    //UIStoryboard *myStoryboard = [UIStoryboard storyboardWithName:@"Login" bundle:nil];
    
    //NSLog(@"为什么");
    
    //LoginController *LoginVC = [myStoryboard instantiateViewControllerWithIdentifier:@"login"];
    
    //[self presentViewController:LoginVC animated:YES completion:nil];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}


@end
